package com.njworkorder.Entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 
 * @TableName section
 */
@Data
public class Section implements Serializable {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 路段名称
     */
    private String sectionName;

    /**
     * 路段编号
     */
    private String sectionNo;

    /**
     * 路线id
     */
    private String routeId;

    /**
     * 工区id
     */
    private String workspaceId;

    /**
     * 开始桩号
     */
    private String startStake;

    /**
     * 结束桩号
     */
    private String endStake;

    private String createApId;

    private String status;

    @TableField(fill = FieldFill.INSERT)
    private Date publishTime;

    @Serial
    private static final long serialVersionUID = 1L;
}